package com.yicong.ants.bean.me.sign;

/**
 * @author cch
 * @version 2020/7/16
 */
public class ActivityList {
    String activity_id;
    String type; // 活动类型0=会议；1=线路
    String name;
    String sign_num;

    public ActivityList() {
    }

    public String getActivity_id() {
        return this.activity_id;
    }

    public String getType() {
        return this.type;
    }

    public String getName() {
        return this.name;
    }

    public String getSign_num() {
        return this.sign_num;
    }

    public void setActivity_id(String activity_id) {
        this.activity_id = activity_id;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSign_num(String sign_num) {
        this.sign_num = sign_num;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof ActivityList)) return false;
        final ActivityList other = (ActivityList) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$activity_id = this.getActivity_id();
        final Object other$activity_id = other.getActivity_id();
        if (this$activity_id == null ? other$activity_id != null : !this$activity_id.equals(other$activity_id))
            return false;
        final Object this$type = this.getType();
        final Object other$type = other.getType();
        if (this$type == null ? other$type != null : !this$type.equals(other$type)) return false;
        final Object this$name = this.getName();
        final Object other$name = other.getName();
        if (this$name == null ? other$name != null : !this$name.equals(other$name)) return false;
        final Object this$sign_num = this.getSign_num();
        final Object other$sign_num = other.getSign_num();
        if (this$sign_num == null ? other$sign_num != null : !this$sign_num.equals(other$sign_num))
            return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof ActivityList;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $activity_id = this.getActivity_id();
        result = result * PRIME + ($activity_id == null ? 43 : $activity_id.hashCode());
        final Object $type = this.getType();
        result = result * PRIME + ($type == null ? 43 : $type.hashCode());
        final Object $name = this.getName();
        result = result * PRIME + ($name == null ? 43 : $name.hashCode());
        final Object $sign_num = this.getSign_num();
        result = result * PRIME + ($sign_num == null ? 43 : $sign_num.hashCode());
        return result;
    }

    public String toString() {
        return "ActivityList(activity_id=" + this.getActivity_id() + ", type=" + this.getType() + ", name=" + this.getName() + ", sign_num=" + this.getSign_num() + ")";
    }
}
